package com.engineering.elink.dao;

import java.util.Map;

import com.engineering.elink.domain.TokenAuthentication;

public interface TokenAuthenticationMapper {
    int deleteByPrimaryKey(TokenAuthentication key);

    int insert(TokenAuthentication record);

    int insertSelective(TokenAuthentication record);

    TokenAuthentication selectByPrimaryKey(TokenAuthentication key);

    int updateByPrimaryKeySelective(TokenAuthentication record);

    int updateByPrimaryKey(TokenAuthentication record);
    
    /**
     * 上面是demo 下面是业务
     */
    int insertAuthToken (Map<String,Object> map);
    
    TokenAuthentication selectBySeed(String seed);
    
    int updateAuthToken (Map<String,Object> map);
}